import os
from PyQt5.QtCore import *
import threading

"""系统控制接口类"""
class SysControl(QObject):
    # #定义显示相机信号
    # showCameraSignal=pyqtSignal()
    # #定义隐藏相机信号
    # hideCameraSignal=pyqtSignal()
    #定义关闭程序信号
    closeFormSignal=pyqtSignal()
    def __init__(self):
        return super().__init__()
    #
    # #显示相机接口
    # @pyqtSlot()
    # def showCamera(self):
    #     self.showCameraSignal.emit()
    # #隐藏相机接口
    # @pyqtSlot()
    # def hideCamera(self):
    #     self.hideCameraSignal.emit()
    #关闭程序接口
    @pyqtSlot()
    def closeForm(self):
        self.cvCamera.stop()
        self.closeFormSignal.emit()
    # #停止摄像头接口
    # @pyqtSlot()
    # def stopCamera(self):
    #     self.cvCamera.stop()
    # #显示系统虚拟键盘接口
    # @pyqtSlot()
    # def openKeyBoard(self):
    #     os.system("matchbox-keyboard")




        
   
